package com.zzs.team.Service;

import com.zzs.team.Entity.Team;
import com.zzs.team.Entity.TeamShow;

import java.util.List;

public interface TeamService {

    void insertTeam(Team team);

    List<TeamShow> getTeams(String userid);

    List<TeamShow> getMyTeams(String userID);

    List<TeamShow> getTeamsWithoutUserID();

    List<TeamShow> getTeamsByProvinceName(String userID, String provinceName);

    List<TeamShow> getTeamsByCityName(String userID,String cityName);

    List<TeamShow> getTeamsBySchoolName(String userID,String SchoolName);

    void deleteTeamByTeamid(String userID,String teamID);

    void updateTeam(String uID,Team t);

    TeamShow getTeamById(String userID,Integer teamid);
}
